<script lang="ts" setup>
import { ref, onMounted } from 'vue'
import { ElMessage } from 'element-plus'

// 入参

// 生命周期

/*
 * 打开弹窗
 */
//
const dialogVisible = ref(false)
const openDialog = () => {
  dialogVisible.value = true
}

defineExpose({ openDialog })
</script>
<template>
  <el-dialog v-model="dialogVisible" title="生成监督报告" width="80%" :close-on-click-modal="false">
    <div class="dialog-box">
      <!--文件-->
      <!-- <wjzs ref="wjzsRef" wjlx="pdf" :url="url" /> -->
    </div>
    <template #footer>
      <div class="dialog-footer">
        <el-button type="primary" @click="dialogVisible = false">保存</el-button>
        <el-button type="default" @click="dialogVisible = false">关闭</el-button>
      </div>
    </template>
  </el-dialog>
</template>
<style lang="scss" scoped>
.dialog-box {
  width: 100%;
  height: 70vh;
}
</style>
